#ifndef ENGINE_RESULT_CODES_H
#define ENGINE_RESULT_CODES_H

#include "base/result_codes.h"

namespace engine {

//namespace engine is assigned project number 1
//error codes will begin with 0x9...
//non-error codes will begin with 0x1...
const int kProjectId = 0x10000000;

enum Error{
    ER_SETTING_NOT_FOUND      = 0x90000001,
    ER_TASK_START_FAIL        = 0x90000002,
    ER_TASK_STOP_FAIL         = 0x90000004,
    ER_TASK_UPDATE_FAIL       = 0x90000008,
    ER_TASK_RESUME_FAIL       = 0x90000010,
    ER_TASK_PAUSE_FAIL        = 0x90000020,

    ER_DUPLICATE_TASK         = 0x90000040,
    ER_TASK_NOT_FOUND         = 0x90000080,
    ER_TIMER_NOT_INITIALIZED  = 0x90000100
};
 
}
#endif //ENGINE_RESULT_CODES_H